home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / game / wins1726.zip / WINFRACT.H < prev    next >
C/C++ Source or Header  |  1992-06-15  |  5KB  |  157 lines

  1. /* file menu items */
  2.  
  3. #define ID_CANCEL    102
  4.  
  5. #define     IDM_NEW     100
  6. #define     IDM_OPEN     101
  7. #define     IDM_SAVE     102
  8. #define     IDM_SAVEAS     103
  9. #define     IDM_PRINT     104
  10. #define     IDM_MAPIN     115
  11. #define     IDM_MAPOUT     116
  12. #define     IDM_3D     113
  13. #define     IDM_3DOVER     114
  14. #define     IDM_EXIT     105
  15. #define     IDM_ABOUT     106
  16. #define     IDM_COPY     117
  17. #define     IDM_PARFILE  118
  18. #define     IDM_SAVEPAR  119
  19.  
  20. #define     IDM_HELP_INDEX     107
  21. #define     IDM_HELP_KEYBOARD  108
  22. #define     IDM_HELP_HELP      109
  23. #define     IDM_HELP_FRACTINT  201
  24. #define     ID_VERSION           110
  25. #define     ID_COMMENT           111
  26. #define     ID_FILETITLE       112
  27. #define     ID_LISTTITLE       112
  28.  
  29. #define     IDS_STATUS      340
  30.  
  31. /* fractal formula stuff */
  32.  
  33. #define     IDM_FRACTAL  171
  34. #define     IDM_FORMULA  172
  35. #define     IDM_IMAGE     173
  36. #define     IDM_DOODADX  174
  37. #define     IDM_DOODADY  175
  38. #define     IDM_DOODADZ  176
  39. #define     IDM_CYCLE     177
  40. #define     IDM_IFS3D     178
  41. #define     IDM_STARFIELD  179
  42. #define     IDM_PIXELS   180
  43. #define     IDM_ORBITS   181
  44. #define     IDM_RESTART  182
  45.  
  46. #define     ID_GIF89A    113
  47. #define     ID_GIF87A    114
  48. #define     ID_BMP    115
  49.  
  50. /* Control IDs */
  51.  
  52. #define     IDC_FILENAME  400
  53. #define     IDC_EDIT      401
  54. #define     IDC_FILES      402
  55. #define     IDC_PATH      403
  56. #define     IDC_LISTBOX   404
  57.  
  58. /* hot-keys (Fractint-compatible accelerator keys) */
  59.  
  60. #define     IDF_FRACTINTSTYLE  599
  61. #define     IDF_WINFRACTSTYLE  598
  62.  
  63. #define     IDF_HELP_INDEX     500
  64. #define     IDF_HELP_FRACTINT  501
  65. #define     IDF_HOTNOZOOM      502
  66. #define     IDF_HOTCYCLEON     503
  67. #define     IDF_HOTCYCLERIGHT  504
  68. #define     IDF_HOTCYCLELEFT   505
  69. #define     IDF_HOTCYCLERAND   506
  70. #define     IDF_HOTCYCLEFAST   507
  71. #define     IDF_HOTCYCLESLOW   508
  72. #define     IDF_STATUS           509
  73. #define     IDF_IMAGE           510
  74. #define     IDF_FORMULA        511
  75. #define     IDF_OPEN           512
  76. #define     IDF_SAVE           513
  77. #define     IDF_3D           514
  78. #define     IDF_3DOVER           515
  79. #define     IDF_PRINT           516
  80. #define     IDF_DOODADX        517
  81. #define     IDF_DOODADY        518
  82. #define     IDF_DOODADZ        519
  83. #define     IDF_CYCLE           520
  84. #define     IDF_PARFILE        521
  85. #define     IDF_SAVEPAR        522
  86. #define     IDF_MAPIN           523
  87. #define     IDF_MAPOUT           524
  88. #define     IDF_HOTCYCLELSTEP  525
  89. #define     IDF_HOTCYCLERSTEP  526
  90. #define     IDF_IFS3D          527
  91. #define     IDF_STARFIELD      528
  92. #define     IDF_RESTART        529 
  93.  
  94. /* Math Tools */
  95. #define     IDM_MATH_TOOLS    1001
  96. #define     IDM_COORD          1002
  97. #define     IDM_ZOOM          1003
  98. #define     IDM_SIZING          1004
  99. #define     IDM_TRACKING      1005
  100. #define     IDM_ZOOMIN        1006
  101. #define     IDM_ZOOMOUT       1007
  102.  
  103. /* Print stuff */
  104.  
  105. #define     ID_PR_DEVICE  450
  106. #define     ID_PR_ORIENT  451
  107. #define     ID_PRO_PORTR  452
  108. #define     ID_PRO_LANDS  453
  109. #define     ID_PR_SIZE      454
  110. #define     ID_PRS_MAX      455
  111. #define     ID_PRS_MAXSIZ 456
  112. #define     ID_PRS_CUST   457
  113. #define     ID_PRS_WIDTH  458
  114.  
  115. /* Windows 3.0 vs 3.1 SDK patch */
  116.  
  117. #ifndef COLOR_ENDCOLORS
  118. #define COLOR_ENDCOLORS     18
  119. #endif
  120.  
  121. int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
  122. BOOL InitApplication(HANDLE);
  123. BOOL InitInstance(HANDLE, int);
  124. long FAR PASCAL MainWndProc(HWND, unsigned, WORD, LONG);
  125. BOOL FAR PASCAL SaveStatusProc(HWND, unsigned, WORD, LONG);
  126. BOOL FAR PASCAL About(HWND, unsigned, WORD, LONG);
  127. BOOL FAR PASCAL HelpBox(HWND, unsigned, WORD, LONG);
  128. BOOL FAR PASCAL SaveAsDlg(HWND, unsigned, WORD, LONG);
  129. BOOL FAR PASCAL SelectFractal(HWND, unsigned, WORD, LONG);
  130. BOOL FAR PASCAL SelectFracParams(HWND, unsigned, WORD, LONG);
  131. BOOL FAR PASCAL SelectImage(HWND, unsigned, WORD, LONG);
  132. BOOL FAR PASCAL SelectDoodads(HWND, unsigned, WORD, LONG);
  133. BOOL FAR PASCAL SelectExtended(HWND, unsigned, WORD, LONG);
  134. BOOL FAR PASCAL SelectSavePar(HWND, unsigned, WORD, LONG);
  135. BOOL FAR PASCAL SelectCycle(HWND, unsigned, WORD, LONG);
  136. BOOL FAR PASCAL Select3D(HWND, unsigned, WORD, LONG);
  137. BOOL FAR PASCAL Select3DPlanar(HWND, unsigned, WORD, LONG);
  138. BOOL FAR PASCAL Select3DSpherical(HWND, unsigned, WORD, LONG);
  139. BOOL FAR PASCAL SelectFullScreen(HWND, unsigned, WORD, LONG);
  140. BOOL FAR PASCAL Status(HWND, unsigned, WORD, LONG);
  141. BOOL FAR PASCAL SelectIFS3D(HWND, unsigned, WORD, LONG);
  142. BOOL FAR PASCAL SelectFunnyGlasses(HWND, unsigned, WORD, LONG);
  143. BOOL FAR PASCAL SelectLightSource(HWND, unsigned, WORD, LONG);
  144. BOOL FAR PASCAL SelectStarfield(HWND, unsigned, WORD, LONG);
  145. HANDLE FAR PASCAL OpenDlg(HWND, unsigned, WORD, LONG);
  146. void SeparateFile(HWND, LPSTR, LPSTR, LPSTR);
  147. void UpdateListBox(HWND);
  148. void AddExt(PSTR, PSTR);
  149. void ChangeDefExt(PSTR, PSTR);
  150. HDC PASCAL GetPrinterDC();
  151. void OpenStatusBox(HWND hWnd, HANDLE hInst);
  152. void CloseStatusBox(void);
  153. void UpdateStatusBox(unsigned long Portion, unsigned long Total);
  154. extern char StatusTitle[];
  155. void SaveBitmapFile(HWND hWnd, char *FullPathName);
  156.  
  157.